package com.flca.frw.components.wizzard
{
	import mx.collections.ArrayCollection;
	
	public class GenWzrdData
	{
		private var _title : String;

		//collection of GenWzrdPage(s)
		private var _pages : ArrayCollection;
		
		private var _model : Object;
		
		public function GenWzrdData()
		{
			_pages = new ArrayCollection();
		}

		public function get title() : String {
			return _title;
		}
		
		public function set title(value:String) : void {
			_title = value;
		}
		
		public function get pages() : ArrayCollection {
			return _pages;
		}
		
		public function set pages(value:ArrayCollection) : void {
			_pages = value;
		}
		
		public function addPage(value:GenWzrdPage) : void
		{
			_pages.addItem(value);
		}	
		
		public function get model() : Object {
			return _model;
		}
		
		public function set model(value:Object) : void {
			_model = value;
		}

	}
}